<template>
  <div>
    <p>{{parentList.content}}</p>
    <parent v-if="parentList.parent" :parentList="parentList.parent" />
  </div>
</template>

<script>
export default {
  props: ["parentList"],
  name: "parent"
};
</script>

<style lang="less" scoped>
</style>